import React from 'react'
import Basic from '@/layouts/basic'
import Header from '@/components/Header'

export const dva = {
  onError: (e: Error) => {
    console.log(e.message)
  }
}
export const layout = {
  logout: (_: any) => {
    console.log("logout")
  },
  rightRender: _ => {
    return <Header />
  }
}
export function rootContainer(container: React.ReactNode) {
  return React.createElement(Basic, null, container);
}
